package com.zyh.notice.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zyh.common.annotation.Excel;
import com.zyh.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 公告对象 t_notice
 *
 * @author 张阳恒
 * @date 2025-04-19
 */
@Data
@TableName("t_notice")
public class Notice extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long noticeId;

    /**
     * 公告标题
     */
    @Excel(name = "公告标题")
    private String title;

    /**
     * 公告内容
     */
    @Excel(name = "公告内容")
    private String content;

    /**
     * 有效性
     */
    private String delFlag;
}
